import  csv
import numpy as np
def read_class_data(csv_name):
    with open(csv_name, 'r') as file:
        reader = csv.reader(file)
        next(reader)
        return list(reader)
class1_data = read_class_data('class1.csv')
class2_data = read_class_data('class2.csv')
class3_data = read_class_data('class3.csv')
all_class_data = class1_data + class2_data + class3_data
all_class_scores = []
for data in all_class_data:
    all_class_scores.append(int(data[2]))
scores_np = np.array(all_class_scores)
print(scores_np)